package com.ruoyi.chiwen.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 银行卡对象 tb_bankcard
 * 
 * @author chiwen
 * @date 2021-06-14
 */
public class TbBankcard extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long bankId;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String bankCardNumber;

    /** 所属银行 */
    @Excel(name = "所属银行")
    private String bankName;

    /** 银行卡作用 */
    @Excel(name = "银行卡作用")
    private Integer cardRole;

    /** 是否首选,0非首选1首选 */
    @Excel(name = "是否首选,0非首选1首选")
    private Integer isFirst;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createPerson;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updatePerson;

    /** 逻辑删除,0没有1有 */
    @Excel(name = "逻辑删除,0没有1有")
    private Integer isDeleted;

    public void setBankId(Long bankId) 
    {
        this.bankId = bankId;
    }

    public Long getBankId() 
    {
        return bankId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setBankCardNumber(String bankCardNumber) 
    {
        this.bankCardNumber = bankCardNumber;
    }

    public String getBankCardNumber() 
    {
        return bankCardNumber;
    }
    public void setBankName(String bankName) 
    {
        this.bankName = bankName;
    }

    public String getBankName() 
    {
        return bankName;
    }
    public void setCardRole(Integer cardRole) 
    {
        this.cardRole = cardRole;
    }

    public Integer getCardRole() 
    {
        return cardRole;
    }
    public void setIsFirst(Integer isFirst) 
    {
        this.isFirst = isFirst;
    }

    public Integer getIsFirst() 
    {
        return isFirst;
    }
    public void setCreatePerson(String createPerson) 
    {
        this.createPerson = createPerson;
    }

    public String getCreatePerson() 
    {
        return createPerson;
    }
    public void setUpdatePerson(String updatePerson) 
    {
        this.updatePerson = updatePerson;
    }

    public String getUpdatePerson() 
    {
        return updatePerson;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bankId", getBankId())
            .append("userId", getUserId())
            .append("bankCardNumber", getBankCardNumber())
            .append("bankName", getBankName())
            .append("cardRole", getCardRole())
            .append("isFirst", getIsFirst())
            .append("createTime", getCreateTime())
            .append("createPerson", getCreatePerson())
            .append("updateTime", getUpdateTime())
            .append("updatePerson", getUpdatePerson())
            .append("isDeleted", getIsDeleted())
            .toString();
    }
}
